package com.hospital.new_yygh.entity.user;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hospital.new_yygh.entity.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "医生")
@TableName("doctor")
public class Doctor extends BaseEntity {
    private String username;
    private String password;
    @TableField("doctorName")
    private String doctorName;
    private String sex;
    private int age;
    private String phone;
    @TableField("ksId")
    private String ksId;
    @TableField("ksName")
    private String ksName;
    private String job;
    private String info;
    @ApiModelProperty(value = "可预约数")
    @TableField("reserved_number")
    private Integer reservedNumber;

    @ApiModelProperty(value = "剩余预约数")
    @TableField("available_number")
    private Integer availableNumber;
}
